package com.project.mapper.zxProject;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.domain.entity.zxProject.BizZxProjectMember;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ZxProjectMemberMapper extends BaseMapper<BizZxProjectMember> {

    /**
     * 根据项目号删除成员
     * @param proId
     * @return
     */
    @Delete("delete from biz_zx_project_member where PROJECT_ID = '${proId}'")
    int delMemberByProId(@Param("proId") String proId);
}
